package leetcode.simulation;

import leetcode.simulation.common.SimulationUtils;

class Solution1041 {
    public boolean isRobotBounded(String instructions) {
        return SimulationUtils.isRobotBounded(instructions);
    }
}

public class leetcode1041 {
    public static void main(String[] args) {
        Solution1041 solution1041 = new Solution1041();
        System.out.println(solution1041.isRobotBounded("GGLLGG"));
        System.out.println(solution1041.isRobotBounded("GG"));
        System.out.println(solution1041.isRobotBounded("GL"));
    }
}
